UIFILES=$(wildcard *.ui)
SOURCES=$(wildcard *.py) $(UIFILES:.ui=_ui.py)

all: $(SOURCES:.py=.pyc)

%_ui.py: %.ui
	pykdeuic4 -o $@ $?

%.pyc: %.py
	py_compilefiles $?
